package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.model.dto.UserTestSubmitDTO;
import com.snail.model.pojo.BizUserTest;
import com.snail.model.pojo.BizUserTestDetail;

import java.util.List;

/**
* @author Monica
* @description 针对表【biz_user_test(用户答题表)】的数据库操作Service
* @createDate 2025-07-16 10:22:25
*/
public interface BizUserTestService extends IService<BizUserTest> {

    boolean submitOrUpdateTest(Integer userId, UserTestSubmitDTO dto);

    List<BizUserTest> listByUserId(Long userId);

    boolean deleteTestById(Long testId);

    List<BizUserTestDetail> getTestDetail(Long testId);
}
